<div class="ibox">
    <div class="ibox-content fadeInUp animated">
        <div class="row">
            <div class="col-xs-12">
                <form onsubmit="return false;" action="__SELF__" data-auto="true" method="post" class='form-horizontal' style='padding-top:20px'>
                    <volist name="configs" id="config">
                        <div class="form-group">
                            <label class="col-sm-2 col-xs-12 control-label">{$config.title}</label>
                            <div class='col-sm-8  col-xs-12'>{$config|getform=###,$config['value'],$form}</div>
                        </div>
                    </volist> 
                    <div class="hr-line-dashed"></div>
                    <div class="col-sm-4 col-sm-offset-2">
                        <div class="layui-form-item text-center">
                            <button class="layui-btn" type="submit">保存配置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    jQuery(document).ready(function($) {
        $('textarea').each(function(){
            $(this).html($(this).data('value'));
        });
    });
</script>